#ifndef LOGINDATA_H
#define LOGINDATA_H

#include "../observer/data.h"
#include <QString>

class LoginData : public Data
{
public:
    LoginData() = default;
    LoginData(const QString& account,const QString& pwd,QString& role);
    QString getAccount();
    QString getPassword();
    QString getRole();

private:
    QString m_account;
    QString m_password;
    QString m_role;
};

#endif // LOGINDATA_H
